﻿@model MvcAtletIS.Models.Competitions

@{
    ViewBag.Title = "Preteky";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Preteky</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">
        @Html.LabelFor(model => model.ID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ID)
    </div>
    
    <div class="display-label">
        @Html.LabelFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.City)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.City)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Organiser)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Organiser)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.DateFrom)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateFrom)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.DateTo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateTo)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Deadline)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Deadline)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.ClubsCountries)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ClubsCountries)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Lanes)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Lanes)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.LanesQuality)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LanesQuality)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Active)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Sync)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sync)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Public)
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.Public)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.External)
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.External)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Website)
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.Website)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.PreAttachments)
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.PreAttachments)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.PostAttachments)
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.PostAttachments)
    </div>

</fieldset>
<p>
    @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Naspäť na prehľad pretekov", "Index")
</p>
